﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace robot_client
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void btn_start_Click(object sender, EventArgs e)
        {

            if (robotManager.init() != true)
            { 
            
              MessageBox.Show("初始化出错");
            
            }
            robotManager.start();

        }

        private void btn_close_Click(object sender, EventArgs e)
        {
            robotManager.close();

        }
    }
}
